//
//  SNSleepChartView.h
//  project
//
//  Created by 黄建华 on 2017/12/6.
//  Copyright © 2017年 黄建华. All rights reserved.
//

#import <UIKit/UIKit.h>

// 图表日期类型
#import <UIKit/UIKit.h>
typedef void (^SNHomePageDetailChartViewBack) ();

@interface SNSleepChartView : UIView
@property(nonatomic, strong) SNHomePageDetailChartViewBack backClickBlock;

@property (nonatomic, strong) UIView        *chartView;
@property (nonatomic, strong) CALayer       *backGroundLayer;
@property (nonatomic, strong) SNCustomLabel *selectDateLabel;
@property (nonatomic, strong) SNCustomLabel *valueLabel;
@property (nonatomic, strong) SNCustomLabel *unitLabel;

- (void)UpdateViewWithType:(SelectDateType)type withArray:(NSArray *)dataArray;

@end

